<?php
namespace Admin\Controller;
class ApiController extends CommonController {
		
		function index() {
			//列表过滤器，生成查询Map对象
			$map = array();
			$model = D (CONTROLLER_NAME);
			 if (! empty ( $model )) {
			 	$data = $model->where($map)->select();
			 	$this->assign ( 'lists', $data );
			 }
			$this->display ();
			return;
		}

	        
}